var http = require('./require.js');
module.exports = {
  // 获取工单列表
  GetOrderList(data) {
    return http.PostAxis('/kf/api/WorkOrder/GetWxOrderList', data)
  },
  GetListAudit(data) {
    return http.PostAxis('/kf/api/WorkOrder/GetListAudit', data)
  },
  // 获取各状态工单数量 -- 首页
  GetWxOrderStatusCount(data) {
    return http.PostAxis('/kf/api/WorkOrder/GetWxOrderStatusCount', data)
  },
  // 获取各状态工单数量 --我的
  GetWxMyOrderCount(data) {
    return http.PostAxis('/kf/api/WorkOrder/GetWxMyOrderCount', data)
  },
  GetOrderDetail(data) {
    return http.PostAxis('/kf/api/WorkOrder/GetOrderDetail', data)
  },
  ReceiveOrder(orderId) {
    return http.PostAxis('/kf/api/WXRecord/ReceiveOrder?orderId=' + orderId)
  },
  UpdateOrderProcedure(data) {
    return http.PostAxis('/kf/api/WorkOrderProcedure/Update', data)
  },
  Examine(data) {
    return http.PostAxis('/kf/api/WorkOrderTempInfo/Exam', data)
  },

  GetOrderAddressList(data) {
    return http.PostAxis('/kf/api/WorkOrder/GetOrderAddressList', data)
  },

  GetOrderReport(data) {
    return http.PostAxis('/kf/api/WorkOrder/GetOrderReport', data)
  },
  GetWorkOperTotal(data) {
    return http.PostAxis('/kf/api/WorkOrder/GetWorkOperTotalList', data)
  },
  GetComplainCount(data) {
    return http.PostAxis('/kf/api/WorkOrderTempInfo/GetComplainCount', data)
  },
  GetUrgency() {
    return http.PostAxis('/kf/api/Urgency/GetList')
  },
  GetWxReportOrderCount(data) {
    return http.PostAxis('/kf/api/WorkOrder/GetWxReportOrderCount', data)
  },
  // 客服统计
  GetServiceTotalData(data) {
    return http.PostAxis('/kf/api/WXRecord/GetServiceTotalData', data)
  },
  // 工单统计
  GetOrderTotalData(data) {
    return http.PostAxis('/kf/api/WXRecord/GetOrderTotalData', data)
  },
  // 开关栓统计
  GetValveTotalData(data) {
    return http.PostAxis('/kf/api/WXRecord/GetValveTotalData', data)
  },
  // 查询用户
  GetList_CC(data){
    return http.PostAxis('/kf/api/ccons/GetList_CC', data)
  },
}